3
|
How do I change the control's border, using your EBN files

public void init()
{
;
super();
exstatusbar1.BeginUpdate();
exstatusbar1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exstatusbar1.Appearance(16777216);
exstatusbar1.VisualAppearance().Add(4,"c:\\exontrol\\images\\border.ebn");
exstatusbar1.VisualAppearance().Add(5,"CP:4 1 1 -1 -1");
exstatusbar1.BackColorPanels(0x5000000);
exstatusbar1.Format("1,2,3,4,(5/6/7/8)");
exstatusbar1.Debug(true);
exstatusbar1.EndUpdate();
}
|
2
|
How do I remove the control's border

public void init()
{
;
super();
exstatusbar1.BeginUpdate();
exstatusbar1.Appearance(0/*None2*/);
exstatusbar1.VisualAppearance().Add(4,"c:\\exontrol\\images\\border.ebn");
exstatusbar1.VisualAppearance().Add(5,"CP:4 1 1 -1 -1");
exstatusbar1.BackColorPanels(0x5000000);
exstatusbar1.Format("1,2,3,4,(5/6/7/8)");
exstatusbar1.Debug(true);
exstatusbar1.EndUpdate();
}
|
1
|
How can I change the control's font

public void init()
{
COM com_f;
anytype f;
;
super();
exstatusbar1.BeginUpdate();
exstatusbar1.VisualAppearance().Add(4,"c:\\exontrol\\images\\border.ebn");
exstatusbar1.VisualAppearance().Add(5,"CP:4 1 1 -1 -1");
exstatusbar1.BackColorPanels(0x5000000);
f = COM::createFromObject(new stdole.StdFont()); com_f = f;
f.Name("Verdana");
f.Size(12);
exstatusbar1.Font(f);
exstatusbar1.Format("\"static text\"[fg=255][a=17],11,22,(33/44)");
exstatusbar1.EndUpdate();
}
|